
//
//  GrowTopTableViewCell.m
//  XRSquare
//
//  Created by UaenaMo on 2018/8/8.
//  Copyright © 2018年 UaenaMo. All rights reserved.
//

#import "GrowTopTableViewCell.h"

@implementation GrowTopTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
    {
        self.backgroundColor = [UIColor clearColor];
        
        UIView * orange = [[UIView alloc]initWithFrame:CGRectMake(ScreenWidth/2 - 30, 10, 60, 60)];
        orange.layer.cornerRadius = 30;
        orange.backgroundColor = themeColor;
        [self addSubview:orange];
        
        UILabel * cotn = [[UILabel alloc]initWithFrame:orange.bounds];
        cotn.font = [UIFont boldSystemFontOfSize:15];
        cotn.text = @"点滴";
        cotn.textAlignment = NSTextAlignmentCenter;
        cotn.textColor = [UIColor whiteColor];
        [orange addSubview:cotn];
    }
    return self;
}

+(CGFloat)height
{
    return 70;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
